package com.shuang.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.shuang.pojo.DbUser;
import com.shuang.service.DbUserService;

@Controller
public class Test_success {
	
	@Resource(name="dbUserService")
	private DbUserService  dbUserService;
	
	@RequestMapping("/test")
	@ResponseBody
	public DbUser test_success(){
		return dbUserService.getDbUserByUid();
	}
}
